package com.hsck.order.kds.main.fragment.order.vm

import com.hsck.order.kds.base.isnoam.network.RetrofitManager
import com.hsck.order.kds.main.fragment.standard.vm.StandardApi
import com.hsck.order.kds.main.fragment.standard.vm.StandardModel
import com.hsck.order.kds.main.fragment.standard.vm.StandardRepository
import org.koin.androidx.viewmodel.dsl.viewModel
import org.koin.dsl.module

val standardLib = module {

    single {
        RetrofitManager.initRetrofit().getService(OrderDynamicsApi::class.java)
    }

    single {
        OrderDynamicsRepository(get())
    }

    viewModel { OrderDynamicsModel(get()) }
}